using Microsoft.Xna.Framework;
using RpgXna.Model.Entities;
using RpgXna.Model.Menu.MenuBehaviors;

namespace RpgXna.Model.Interfaces.Inventory
{
    class Slot : INavigationSelectable
    {
        public Slot(int x, int y)
        {
            X = x;
            Y = y;
        }

        public Vector2 Position { get { return new Vector2(Box.X, Box.Y); } }
        public int X { get; private set; }
        public int Y { get; private set; }

        public PickableObject Item { get; set; }
        public bool IsFree { get { return Item == null; } }
        public Rectangle Box { get; set; }

        public bool IsSelected { get; set; }
    }
}